//
//  BaseNavigationController.swift
//  LGMusic
//
//  Created by 梁尚嘉 on 2017/3/24.
//  Copyright © 2017年 LimeGah. All rights reserved.
//

import UIKit
import FDFullscreenPopGesture
class BaseNavigationController: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        self.navigationBar.tintColor = UIColor.white

//        let color = UIColor.init(patternImage: UIImage.init(named: "ic_navi_bg")!)
        //UIColor.init(colorLiteralRed: 0.96, green: 0.96, blue: 0.96, alpha: 1)
        self.navigationBar.setBackgroundImage(UIImage.init(named: "ic_navi_bg")!, for: UIBarPosition.topAttached, barMetrics: UIBarMetrics.default)
        self.navigationBar.titleTextAttributes = [NSFontAttributeName:SM_CFont(25),NSForegroundColorAttributeName:UIColor.white]
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}
